﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace CinemabookingWCFApp.UserFolder
{

    [ServiceContract]
    public interface IUserService
    {
        [OperationContract]
        List<User> GetUserById(int UserId);

        [OperationContract]
        List<User> GetAllUsers();

        [OperationContract]
        void SaveUser(string UserName, string UserAddress, string UserPassword, string UserPhone, string UserEmail);

        [OperationContract]
        void DeleteUser(int UserId);

        [OperationContract]
        void UpdateUser(int UserId, string UserName, string UserAddress, string UserPassword, string UserPhone, string UserEmail);

    }
}
